Turn on Storage Sense in Settings → System → Storage to automatically delete temp files and free up space on a schedule.